package com.xbongbong.saas.model.impl;

import com.xbongbong.paas.domain.entity.ext.CkPaasFormDataEntityExt;
import com.xbongbong.pro.domain.dao.CkPaasFormDataDao;
import com.xbongbong.saas.model.CkPaasFormDataModel;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 描述信息
 *
 * @ClassName CkPaasFormDataModelImpl
 * @Author 梁鲁江
 * 创建时间 2021/10/15 16:12
 * 修改时间  2021/10/15 16:12
 **/
@Service("ckPaasFormDataModel")
public class CkPaasFormDataModelImpl implements CkPaasFormDataModel {
    @Resource
    private CkPaasFormDataDao ckPaasFormDataDao;
    @Override
    public List<CkPaasFormDataEntityExt> findEntitys(Map<String, Object> entity) {
        return ckPaasFormDataDao.findEntitys(entity);
    }

    @Override
    public List<CkPaasFormDataEntityExt> findEntitysBySql(String sql) {
        return ckPaasFormDataDao.findEntitysBySql(sql);
    }

    @Override
    public List<Map<String, Object>> findListMapBySql(String sql) {
        return ckPaasFormDataDao.findListMapBySql(sql);
    }

    @Override
    public Integer countBySql(String sql) {
        return ckPaasFormDataDao.countBySql(sql);
    }
}
